import request from '@/utils/request'

// 查询即开票明细列表
export function listcheckGglLine(query) {
  return request({
    url: '/system/checkGglLine/list',
    method: 'get',
    params: query
  })
}

// 查询即开票明细详细
export function getcheckGglLine(id) {
  return request({
    url: '/system/checkGglLine/' + id,
    method: 'get'
  })
}

// 新增即开票明细
export function addcheckGglLine(data) {
  return request({
    url: '/system/checkGglLine',
    method: 'post',
    data: data
  })
}

// 修改即开票明细
export function updatecheckGglLine(data) {
  return request({
    url: '/system/checkGglLine',
    method: 'put',
    data: data
  })
}

// 删除即开票明细
export function delcheckGglLine(id) {
  return request({
    url: '/system/checkGglLine/' + id,
    method: 'delete'
  })
}
